package com.yuejian.neusoft.yuejian_24.service;

import com.yuejian.neusoft.yuejian_24.javaBean.Question;
import com.yuejian.neusoft.yuejian_24.javaBean.Success;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface QuestionService {
    @GET("index.php/Question/questionlist")
    Call<List<Question>> questionlist(
            @Query("master_id") String master_id
    );

    @GET("index.php/Question/addquestion")
    Call<Success> addquestion(
            @Query("master_id") String master_id,
            @Query("qu_people") String userid,
            @Query("qu_content") String qu_content
    );
}
